<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<%@ page import="fr.mywiki.view.web.struts.form.admin.structure.ManageStructureForm" %>
<%@ page import="fr.mywiki.view.array.ArrayPage" %>

<script>
	function closeList() {
		document.forms["manageStructureForm"].method.value='closeList';
		document.forms["manageStructureForm"].submit();
	}
</script>

<logic:equal value="true" property="displayElementsList" name="manageStructureForm">
	<div id="listContainer">
		<a href="javascript:closeList();"><bean:message key="action.close"/></a>
		
		<%@include file="../../generic/array/included.jsp"%>
<%
	ManageStructureForm form = (ManageStructureForm) session.getAttribute("manageStructureForm");
	ArrayPage curPage = form.getAccountsController().getPage();
	String arrayFormName = "manageStructureForm";
%>
		<%@include file="../../generic/array/array.jsp"%>
		
	</div>
</logic:equal>